<!doctype html>
<html>
<head>
<?php $this->load->view('common_head'); ?>
<link href="<?php echo base_url(); ?>themes/manage/default/css/style.css?v=<?php echo UI_VERSION; ?>" rel="stylesheet" />
</head>
<body>
<div class="wrap">
	<?php $this->load->view('common_header'); ?>
	<div class="main_wrap">
		<div class="main cc">
			<div class="bread_crumb"> <a class="home" href="<?php echo base_url(); ?>" title="返回首页">首页</a><em>&gt;</em><a href="<?php echo site_url('manage/user/index'); ?>" title="我的控制面板">控制面板</a> </div>
			<!--<h1 class="manage_bread">控制面板</h1>-->
			<div class="cc manage_page">
				<div class="msidebar">
					<div class="menubar">
						<?php $this->load->view('manage/common_left'); ?>
					</div>
				</div>
				<div class="mbody">
					<div class="mcontent">
						<div class="box_wrap">
							<div class="content">
								<div class="content_nav">
									<?php $this->load->view('manage/agency_righttop'); ?>
								</div>
								<div class="manage_ct">
									<h3 class="mb5">基本信息</h3>
									<table class="mb10">
										<colgroup>
											<col width="90" />
											<col width="180" />
											<col width="90" />
											<col />
										</colgroup>
										<tbody>
											<tr>
												<th>公司名称：</th>
												<td colspan="3">嘉汇房地产</td>
											</tr>
											<tr>
												<th>发布类型：</th>
												<td>固定数量</td>
												<th>出售统计：</th>
												<td>124578</td>
											</tr>
											<tr>
												<th>总发布量：</th>
												<td>10000</td>
												<th>出租统计：</th>
												<td>101210</td>
											</tr>
											<tr>
												<th>剩余数量：</th>
												<td>6000</td>
												<th>经纪人统计：</th>
												<td>301</td>
											</tr>
											<tr>
												<th>账户余额：</th>
												<td colspan="3"><span class="mr5">200 RMB</span> <a href="">充值</a></td>
											</tr>
											<tr>
												<th>创建时间：</th>
												<td colspan="3">2012-01-01 00:00:00</td>
											</tr>
											<tr>
												<th>创建时间：</th>
												<td colspan="3">2013-01-01 00:00:00</td>
											</tr>
										</tbody>
									</table>
									<table class="mb10">
										<colgroup>
											<col />
											<col width="70" />
											<col width="70" />
											<col width="70" />
											<col width="70" />
											<col width="70" />
											<col width="70" />
											<col width="120" />
											<col width="150" />
											<col />
										</colgroup>
										<tbody>
											<tr>
												<th class="tal">分店名称</th>
												<th class="tal">出售总数</th>
												<th class="tal">出租总数</th>
												<th class="tal">经纪人数</th>
												<th class="tal">发布类型</th>
												<th class="tal">总发布量</th>
												<th class="tal">剩余数量</th>
												<th class="tal">账户余额</th>
												<th class="tal">创建时间</th>
												<th class="tal">过期时间</th>
											</tr>
											<tr>
												<td>嘉汇房地产</td>
												<td>124578</td>
												<td>101210</td>
												<td>301</td>
												<td>固定数量</td>
												<td>10000</td>
												<td>6000</td>
												<td><span class="mr5">200 RMB</span> <a href="">充值</a></td>
												<td>2012-01-01 00:00:00</td>
												<td>2013-01-01 00:00:00</td>
											</tr>
										</tbody>
									</table>
									<h3 class="mb5">开发说明：</h3>
									<ol class="s6" style="padding-left:30px;">
										<li>该页面是我管理的分店：即是 SELECT * FROM agency WHERE adminname = 'login_username'，查找出我管理的分店，并且显示这个月的相关统计信息</li>
										<li>如果拥有中介公司最高层的权限（从中介公司表的parent_id是否等于0来判断），则显示该中介公司总的信息+所有的分店信息</li>
									</ol>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!--.main-wrap,#main End-->
	<?php $this->load->view('common_footer'); ?>
</div>
<script>
Wind.use('jquery', 'global');
</script>
</body>
</html>